1   /*
2    * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
3    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4    *
5    * This code is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU General Public License version 2 only, as
7    * published by the Free Software Foundation.  Oracle designates this
8    * particular file as subject to the "Classpath" exception as provided
9    * by Oracle in the LICENSE file that accompanied this code.
10   *
11   * This code is distributed in the hope that it will be useful, but WITHOUT
12   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14   * version 2 for more details (a copy is included in the LICENSE file that
15   * accompanied this code).
16   *
17   * You should have received a copy of the GNU General Public License version
18   * 2 along with this work; if not, write to the Free Software Foundation,
19   * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20   *
21   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22   * or visit www.oracle.com if you need additional information or have any
23   * questions.
24   */
25  
26  /*
27   * Licensed Materials - Property of IBM
28   *
29   * (C) Copyright IBM Corp. 1999 All Rights Reserved.
30   * (C) IBM Corp. 1997-1998.  All Rights Reserved.
31   *
32   * The program is provided "as is" without any warranty express or
33   * implied, including the warranty of non-infringement and the implied
34   * warranties of merchantibility and fitness for a particular purpose.
35   * IBM will not be liable for any damages suffered by you as a result
36   * of using the Program. In no event will IBM be liable for any
37   * special, indirect or consequential damages or lost profits even if
38   * IBM has been advised of the possibility of their occurrence. IBM
39   * will not be liable for any third party claims against you.
40   */
41  
42  package sun.text.resources;
43  
44  import java.util.ListResourceBundle;
45  
46  public class BreakIteratorInfo extends ListResourceBundle {
47      protected final Object[][] getContents() {
48          return new Object[][] {
49              // BreakIteratorClasses lists the class names to instantiate for each
50              // built-in type of BreakIterator
51              {"BreakIteratorClasses",
52                  new String[] {
53                      "RuleBasedBreakIterator",  // character-break iterator class
54                      "RuleBasedBreakIterator",  // word-break iterator class
55                      "RuleBasedBreakIterator",  // line-break iterator class
56                      "RuleBasedBreakIterator"   // sentence-break iterator class
57                  }
58              },
59  
60              // Rules filename for each break-iterator
61              {"CharacterData", "CharacterBreakIteratorData"},
62              {"WordData",      "WordBreakIteratorData"},
63              {"LineData",      "LineBreakIteratorData"},
64              {"SentenceData",  "SentenceBreakIteratorData"},
65          };
66      }
67  }